package org.mybatis.model;

import org.apache.ibatis.type.Alias;

import com.github.crab2died.annotation.ExcelField;

// 别名
@Alias("user")
public class User {
    /**
     * 编号
     */
    @ExcelField(title = "编号", order = 1) // Excel4J 注解
    private String id;
    /**
     * 名称
     */
    @ExcelField(title = "名称", order = 2)
    private String username;
    /**
     * 性别
     */
    @ExcelField(title = "性别", order = 3)
    private String sex;
    /**
     * 城市
     */
    @ExcelField(title = "城市", order = 4)
    private String city;
    /**
     * 签名
     */
    @ExcelField(title = "签名", order = 5)
    private String sign;
    /**
     * 积分
     */
    @ExcelField(title = "积分", order = 6)
    private double experience;
    @ExcelField(title = "登陆次数", order = 7)
    private Integer logins;
    /**
     * 财富
     */
    @ExcelField(title = "财富", order = 8)
    private double wealth;
    /**
     * 职业
     */
    @ExcelField(title = "职业", order = 9)
    private String classify;
    /**
     * 评分
     */
    @ExcelField(title = "评分", order = 10)
    private Integer score;
    
    public String getId() {
        return id;
    }
    
    public void setId(String id) {
        this.id = id;
    }
    
    public String getUsername() {
        return username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }
    
    public String getSex() {
        return sex;
    }
    
    public void setSex(String sex) {
        this.sex = sex;
    }
    
    public String getCity() {
        return city;
    }
    
    public void setCity(String city) {
        this.city = city;
    }
    
    public String getSign() {
        return sign;
    }
    
    public void setSign(String sign) {
        this.sign = sign;
    }
    
    public String getClassify() {
        return classify;
    }
    
    public void setClassify(String classify) {
        this.classify = classify;
    }
    
    public Integer getScore() {
        return score;
    }
    
    public void setScore(Integer score) {
        this.score = score;
    }
    
    public double getExperience() {
        return experience;
    }
    
    public void setExperience(double experience) {
        this.experience = experience;
    }
    
    public Integer getLogins() {
        return logins;
    }
    
    public void setLogins(Integer logins) {
        this.logins = logins;
    }
    
    public double getWealth() {
        return wealth;
    }
    
    public void setWealth(double wealth) {
        this.wealth = wealth;
    }
    
    @Override
    public String toString() {
        return "User [id=" + id + ", username=" + username + ", sex=" + sex + ", city=" + city + ", sign=" + sign
                + ", experience=" + experience + ", logins=" + logins + ", wealth=" + wealth + ", classify=" + classify
                + ", score=" + score + "]";
    }
    
}
